#pragma once

#include<SFML/Graphics.hpp>
#include<vector>

#include"AppImage.h"

class ImageManager
{
private:
	//Fields
	std::vector<sf::Image> _ListImage;
	int _Loaded;

	//Methods
	sf::Image& CreateImageFromFile(AppImage pImage, int pIndex, std::string pFileName);
public:
	//Initialization
	ImageManager(void);
	~ImageManager(void);

	//Properties
	int Loaded() { return _Loaded; }

	//Methods
	void LoadImages();
	sf::Image& GetImage(AppImage pImage);
};